var netTool
var rootUrl = 'capi/V2/UserEarn/kmsUserEarnings/'
function KMSEarning(_netTool) {
	netTool = _netTool
	this.list  = function(data,fn){
		netTool.getAjaxUrlValue(rootUrl + 'list', {
			...data
		}, function(res) {
			typeof fn == 'function' && fn(res);
		})
	}
}
module.exports = KMSEarning